.class Lcom/waiqin365/base/triallogin/q;
.super Landroid/os/Handler;


# instance fields
.field private a:Ljava/lang/ref/WeakReference;


# direct methods
.method private constructor <init>(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/q;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method

.method synthetic constructor <init>(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;Lcom/waiqin365/base/triallogin/k;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/triallogin/q;-><init>(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)V

    return-void
.end method


# virtual methods
.method public dispatchMessage(Landroid/os/Message;)V
    .locals 5

    const v4, 0x7f08013b

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/q;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;

    if-nez v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->a()V

    iget v1, p1, Landroid/os/Message;->what:I

    sparse-switch v1, :sswitch_data_0

    goto :goto_0

    :sswitch_0
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/base/triallogin/b/a/j;

    if-eqz v1, :cond_0

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/j;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_7

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/j;->c:Ljava/lang/String;

    if-eqz v1, :cond_2

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_3

    :cond_2
    invoke-virtual {v0, v4}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    :cond_3
    const-string/jumbo v2, "\u6700\u591a\u53d1\u9001"

    invoke-virtual {v1, v2}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->g(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Ljava/util/Timer;

    move-result-object v2

    if-eqz v2, :cond_4

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->g(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Ljava/util/Timer;

    move-result-object v2

    invoke-virtual {v2}, Ljava/util/Timer;->cancel()V

    :cond_4
    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->e(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Landroid/widget/TextView;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->h(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)V

    const/4 v2, 0x1

    invoke-static {v0, v2}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->a(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;Z)Z

    :cond_5
    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto :goto_0

    :sswitch_1
    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v1, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->e(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Landroid/widget/TextView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->d(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, " "

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget v2, p1, Landroid/os/Message;->arg1:I

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v2, "s"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_6
    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->e(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Landroid/widget/TextView;

    move-result-object v1

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget v3, p1, Landroid/os/Message;->arg1:I

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->d(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :sswitch_2
    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->e(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Landroid/widget/TextView;

    move-result-object v1

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->d(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->f(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)V

    goto/16 :goto_0

    :cond_7
    iget-object v2, v1, Lcom/waiqin365/base/triallogin/b/a/j;->d:Ljava/util/ArrayList;

    if-eqz v2, :cond_0

    iget-object v2, v1, Lcom/waiqin365/base/triallogin/b/a/j;->d:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-lez v2, :cond_0

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/j;->d:Ljava/util/ArrayList;

    invoke-static {v0, v1}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->a(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;Ljava/util/ArrayList;)V

    goto/16 :goto_0

    :sswitch_3
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Lcom/waiqin365/base/triallogin/b/a/h;

    if-eqz v1, :cond_0

    const-string/jumbo v2, "1"

    iget-object v3, v1, Lcom/waiqin365/base/triallogin/b/a/h;->b:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_a

    iget-object v1, v1, Lcom/waiqin365/base/triallogin/b/a/h;->c:Ljava/lang/String;

    if-eqz v1, :cond_8

    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_9

    :cond_8
    invoke-virtual {v0, v4}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    :cond_9
    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_a
    const v1, 0x7f0802d3

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;)V

    invoke-static {v0}, Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;->i(Lcom/waiqin365/base/triallogin/TrialVerifyCodeActivity;)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x2 -> :sswitch_0
        0x3 -> :sswitch_3
        0x3e9 -> :sswitch_1
        0x3ea -> :sswitch_2
    .end sparse-switch
.end method
